var app = require('express')();
var http = require('http').Server(app);

var chat_server = require('./lib/chat_server');

app.get('/', function(req, res){
    res.sendFile(__dirname + '/index.html');
});

chat_server.listen(http);

http.listen(7001, function(){
    console.log('listening on *:7001');
});
